unit define_StockDataApp;

interface

uses
  windef_msg;
                 
const
  WM_Console2Downloader_Base = WM_CustomAppBase + 100;
  //WM_Console2Downloader_Command_Download = WM_Console2Downloader_Base + 1;  
  WM_Console2Downloader_Command_Download_Day = WM_Console2Downloader_Base + 2;
  WM_Console2Downloader_Command_Download_Detail = WM_Console2Downloader_Base + 3;

  WM_Console_Base = WM_CustomAppBase + 200;    
  WM_Console_Command_Download = WM_Console_Base + 1;

  WM_ConsoleProcess_Command_Download = WM_Console_Base + 11;

  WM_ConsoleProcess2Console_Download_Finished = WM_Console_Base + 21;

  WM_Downloader2Console_Base = WM_CustomAppBase + 300;
  WM_Downloader2Console_Command_DownloadResult = WM_Downloader2Console_Base + 1;

  WM_Downloader_Base = WM_CustomAppBase + 400;   
  WM_Downloader_Command_Download_Day = WM_Downloader_Base + 1;
  WM_Downloader_Command_Download_Detail = WM_Downloader_Base + 2;

type      
  TStockDataAppRunMode = (
    runMode_Undefine,
    runMode_Console,
    runMode_DataDownloader,
    runMode_DealAgent    
  );

implementation

end.
